package cn.lg.soar.boot.nc.service;

import cn.lg.soar.common.model.HttpResult;
import cn.lg.soar.database.base.service.IBaseService;
import cn.lg.soar.boot.nc.entity.Friendshipurl;

import java.io.Serializable;
import java.math.BigInteger;
import java.util.List;
import java.util.Map;

/**
 * 友情链接表
 * @author BoBo
 * @since 2025-02-19
 * 开源项目：https://gitee.com/lgx1992/lg-soar 求star！请给我star！请帮我点个star！
 */
public interface FriendshipurlService extends IBaseService<Friendshipurl> {

    /**
     * 添加数据
     */
    HttpResult<Serializable> addFriendshipurl(Friendshipurl friendshipurl);


    /**
     * 修改数据
     */
    HttpResult<Serializable> updateFriendshipurl(Friendshipurl friendshipurl);

    /**
     * 拖拉拽排序
     */
    HttpResult<Serializable> updateSort(List<Map<String, BigInteger>> sortedData);

}
